Skip to content

Fixed GH-21077. Fixed stub for Dom\Node::baseURI#21078

Closed
mbeccati wants to merge 1 commit intophp:PHP-8.4from
mbeccati:fix-domnode-baseuri
Closed

Fixed GH-21077. Fixed stub for Dom\Node::baseURI#21078
mbeccati wants to merge 1 commit intophp:PHP-8.4from
mbeccati:fix-domnode-baseuri

Conversation

@mbeccati
Copy link
Copy Markdown
Contributor

Fixes #21077

Copy link
Copy Markdown
Member

@ndossche ndossche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The stub was right, it should not be nullable.
The problem is that the implementation class can create a dtd without a document. This means that the "follows spec" check fails in the baseuri read implementation.

@mbeccati
Copy link
Copy Markdown
Contributor Author

@ndossche Apologies, I had mistakenly checked the docs for the old \DomNode. Any suggestions?

@ndossche
Copy link
Copy Markdown
Member

See #21082

@ndossche ndossche closed this Jan 29, 2026
@mbeccati mbeccati deleted the fix-domnode-baseuri branch January 29, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants